<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    <title>War</title>
  	<link href="dist/css/bootstrap.min.css" rel="stylesheet" type="text/css" />
  	   <link href="static/css/style.css" rel="stylesheet" type="text/css" />
	<script type="text/javascript" src="static/js/jquery.js"></script>
	<script language="javascript">
	$(function(){	
		$.post("client/selGuestType",function(data){
  			$.each(data,function(){
  				var opt="<option value='"+this.hGid+"'>"+this.hGname+"</option>";
  				$("#select3").append(opt);  
  			});
		});
		/* $(".tijiao").click(function(){
			$("form").submit();
		}) */
	});
	</script>
	<style>
		.font-size{
			font-size:14px;
			font-weight:500;
		}
	</style>
</head>

<body>
	<div class="place">
	    <span>位置：</span>
	    <ul class="placeul">
		    <li><a href="#">首页</a></li>
		    <li><a href="#">表单</a></li>
	    </ul>
    </div>
    <div class="formbody">
    	<div class="formtitle"><span>客户信息</span></div>
	    	<form  class="form-horizontal" action="client/addGuestInfo" method="post">
	    		 <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">用户网名</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				      <input name="hUname" type="text" class="form-control"/>
				    </div>
				 </div>
				 <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">用户性别</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5 radio">
				      <label><input type="radio" checked name="hUsex" value="男"/><span style="margin-top:3px;">男</span></label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<label><input type="radio" name="hUsex" value="女"/><span style="margin-top:3px;">女</span></label>
				    </div>
				 </div>
				 <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">顾客类型</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				      	<select id="select3" class="form-control" name="hGid.hGid">
					    </select>
				    </div>
				 </div>
				 <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">手&nbsp;机&nbsp;号</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				      <input  value="" name="hUphone" type="text" class="form-control"/>
				    </div>
				 </div>
				  <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">邮&nbsp; &nbsp; &nbsp;&nbsp;箱</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				      <input  value="" name="hUemail" type="text" class="form-control"/>
				    </div>
				 </div>
				  <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label font-size">身份证号</label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				    	<input name="hUstatus" type="text" class="form-control"/>
				    </div>
				 </div>
				 <div class="form-group">
				    <label class="col-xs-2 col-sm-3 col-md-4 col-lg-4 control-label"></label>
				    <div class="col-xs-7 col-sm-6 col-md-5 col-lg-5">
				      <input type="submit" class="btn btn-primary tijiao" value="确认保存"/>&nbsp;&nbsp;&nbsp;
				      <input onclick="location.href='client/geren'" type="button" class="btn btn-primary" value="返回上一页"/>
				    </div>
				 </div>
	    	</form>
    </div>
</body>
</html>
